package com.rectcircle.wechat.msg.vo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.rectcircle.wechat.util.CDATAAdapter;

/**
 * 
 * 用于对自定义菜单事件中的扫码推送xml中
 * 的ScanCodeInfo：扫描信息进行封装
 *   
 * @author RectCircle
 * @version 0.1<br>
 * 2016年7月18日-上午12:18:07<br>
 * Copyright (c) 2016 RectCircle-版权所有<br>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="ScanCodeInfo")
public class ScanCodeInfo{
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="ScanType")
	private String ScanType = null;
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="ScanResult")
	private String ScanResult = null;
	
	public String getScanType() {
		return ScanType;
	}
	public void setScanType(String scanType) {
		ScanType = scanType;
	}
	public String getScanResult() {
		return ScanResult;
	}
	public void setScanResult(String scanResult) {
		ScanResult = scanResult;
	}
	
	@Override
	public String toString() {
		return "ScanCodeInfo [ScanType=" + ScanType + ", ScanResult=" + ScanResult + "]";
	}
}

